package Edchl7;

import com.orion.symphonia3.MessageElement;
import com.orion.symphonia3.MessageComponent;

public class EDC_HL7SegMSA extends MessageComponent{
	
	//Declarations
	public EDC_HL7FldST AcknowledgementCode;
	public EDC_HL7FldST MessageControlID;
	public EDC_HL7FldST TextMessage;
	public EDC_HL7FldI4 ExpectedSequenceNumber;
	public EDC_HL7FldST DelayedAcknowledgementType;
	public EDC_HL7FldCE ErrorCondition;
	
	//Constructor
	public EDC_HL7SegMSA(MessageElement elem) {
		super(elem);
		AcknowledgementCode = new EDC_HL7FldST(elem.getElementAt("AcknowledgementCode"));
		MessageControlID = new EDC_HL7FldST(elem.getElementAt("MessageControlID"));
		TextMessage = new EDC_HL7FldST(elem.getElementAt("TextMessage"));
		ExpectedSequenceNumber = new EDC_HL7FldI4(elem.getElementAt("ExpectedSequenceNumber"));
		DelayedAcknowledgementType = new EDC_HL7FldST(elem.getElementAt("DelayedAcknowledgementType"));
		ErrorCondition = new EDC_HL7FldCE(elem.getElementAt("ErrorCondition"));
	}

}
